package com.apps.ftapp.model;

import java.util.List;

/**
 * Created by lyli on 2017/10/10.
 */

public class LoginModel {


    /**
     * success : 1
     * info : {"user":{"id":"1","email":"easttrust@qq.com","verifiedMobile":"15506666400","password":"sNRcl/RK4TMR6Dr/EOPbJvisL9jJNc1q0IJ7gS6QNtA=","salt":"mhgc7z7rn00ocg88kc88www84ss84c0","payPassword":"","payPasswordSalt":"","uri":"","nickname":"为师教育","title":"研究生","tags":"","type":"default","point":"0","coin":"0","smallAvatar":"http://www.iweishi.cn/files/default/2016/05-01/134741d85a5b907887.jpg","mediumAvatar":"http://www.iweishi.cn/files/default/2016/05-01/134741d79ed8483175.jpg","largeAvatar":"http://www.iweishi.cn/files/default/2016/05-01/134741d6cfcd280710.jpg","emailVerified":"0","setup":"1","roles":["ROLE_USER","ROLE_TEACHER","ROLE_SUPER_ADMIN"],"promoted":"0","promotedSeq":"0","promotedTime":"0","locked":"0","lockDeadline":"0","consecutivePasswordErrorTimes":"0","lastPasswordFailTime":"0","loginTime":"1507683584","loginIp":"182.42.64.28","loginSessionId":"cs9divih35nj7etv4bt4cdnqk7","approvalTime":"0","approvalStatus":"unapprove","newMessageNum":"0","newNotificationNum":"18","createdIp":"","createdTime":"1456227420","updatedTime":"1507683584","inviteCode":"ANFCR","mobileArea":"","category":["2","教师招聘"],"xueduan":["2","小学"],"xueke":["22","音乐"]},"token":"c6rc14axtz400000swgkc0o0k4w04cs"}
     */

    private int success;
    private String error;
    private InfoBean info;

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public static class InfoBean {
        /**
         * user : {"id":"1","email":"easttrust@qq.com","verifiedMobile":"15506666400","password":"sNRcl/RK4TMR6Dr/EOPbJvisL9jJNc1q0IJ7gS6QNtA=","salt":"mhgc7z7rn00ocg88kc88www84ss84c0","payPassword":"","payPasswordSalt":"","uri":"","nickname":"为师教育","title":"研究生","tags":"","type":"default","point":"0","coin":"0","smallAvatar":"http://www.iweishi.cn/files/default/2016/05-01/134741d85a5b907887.jpg","mediumAvatar":"http://www.iweishi.cn/files/default/2016/05-01/134741d79ed8483175.jpg","largeAvatar":"http://www.iweishi.cn/files/default/2016/05-01/134741d6cfcd280710.jpg","emailVerified":"0","setup":"1","roles":["ROLE_USER","ROLE_TEACHER","ROLE_SUPER_ADMIN"],"promoted":"0","promotedSeq":"0","promotedTime":"0","locked":"0","lockDeadline":"0","consecutivePasswordErrorTimes":"0","lastPasswordFailTime":"0","loginTime":"1507683584","loginIp":"182.42.64.28","loginSessionId":"cs9divih35nj7etv4bt4cdnqk7","approvalTime":"0","approvalStatus":"unapprove","newMessageNum":"0","newNotificationNum":"18","createdIp":"","createdTime":"1456227420","updatedTime":"1507683584","inviteCode":"ANFCR","mobileArea":"","category":["2","教师招聘"],"xueduan":["2","小学"],"xueke":["22","音乐"]}
         * token : c6rc14axtz400000swgkc0o0k4w04cs
         */

        private UserBean user;
        private String token;

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public static class UserBean {
            /**
             * id : 1
             * email : easttrust@qq.com
             * verifiedMobile : 15506666400
             * password : sNRcl/RK4TMR6Dr/EOPbJvisL9jJNc1q0IJ7gS6QNtA=
             * salt : mhgc7z7rn00ocg88kc88www84ss84c0
             * payPassword :
             * payPasswordSalt :
             * uri :
             * nickname : 为师教育
             * title : 研究生
             * tags :
             * type : default
             * point : 0
             * coin : 0
             * smallAvatar : http://www.iweishi.cn/files/default/2016/05-01/134741d85a5b907887.jpg
             * mediumAvatar : http://www.iweishi.cn/files/default/2016/05-01/134741d79ed8483175.jpg
             * largeAvatar : http://www.iweishi.cn/files/default/2016/05-01/134741d6cfcd280710.jpg
             * emailVerified : 0
             * setup : 1
             * roles : ["ROLE_USER","ROLE_TEACHER","ROLE_SUPER_ADMIN"]
             * promoted : 0
             * promotedSeq : 0
             * promotedTime : 0
             * locked : 0
             * lockDeadline : 0
             * consecutivePasswordErrorTimes : 0
             * lastPasswordFailTime : 0
             * loginTime : 1507683584
             * loginIp : 182.42.64.28
             * loginSessionId : cs9divih35nj7etv4bt4cdnqk7
             * approvalTime : 0
             * approvalStatus : unapprove
             * newMessageNum : 0
             * newNotificationNum : 18
             * createdIp :
             * createdTime : 1456227420
             * updatedTime : 1507683584
             * inviteCode : ANFCR
             * mobileArea :
             * category : ["2","教师招聘"]
             * xueduan : ["2","小学"]
             * xueke : ["22","音乐"]
             */

            private String id;
            private String email;
            private String verifiedMobile;
            private String password;
            private String salt;
            private String payPassword;
            private String payPasswordSalt;
            private String uri;
            private String nickname;
            private String title;
            private String tags;
            private String type;
            private String point;
            private String coin;
            private String smallAvatar;
            private String mediumAvatar;
            private String largeAvatar;
            private String emailVerified;
            private String setup;
            private String promoted;
            private String promotedSeq;
            private String promotedTime;
            private String locked;
            private String lockDeadline;
            private String consecutivePasswordErrorTimes;
            private String lastPasswordFailTime;
            private String loginTime;
            private String loginIp;
            private String loginSessionId;
            private String approvalTime;
            private String approvalStatus;
            private String newMessageNum;
            private String newNotificationNum;
            private String createdIp;
            private String createdTime;
            private String updatedTime;
            private String inviteCode;
            private String mobileArea;
            private List<String> roles;
            private List<String> category;
            private List<String> xueduan;
            private List<String> xueke;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getVerifiedMobile() {
                return verifiedMobile;
            }

            public void setVerifiedMobile(String verifiedMobile) {
                this.verifiedMobile = verifiedMobile;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getSalt() {
                return salt;
            }

            public void setSalt(String salt) {
                this.salt = salt;
            }

            public String getPayPassword() {
                return payPassword;
            }

            public void setPayPassword(String payPassword) {
                this.payPassword = payPassword;
            }

            public String getPayPasswordSalt() {
                return payPasswordSalt;
            }

            public void setPayPasswordSalt(String payPasswordSalt) {
                this.payPasswordSalt = payPasswordSalt;
            }

            public String getUri() {
                return uri;
            }

            public void setUri(String uri) {
                this.uri = uri;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTags() {
                return tags;
            }

            public void setTags(String tags) {
                this.tags = tags;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getPoint() {
                return point;
            }

            public void setPoint(String point) {
                this.point = point;
            }

            public String getCoin() {
                return coin;
            }

            public void setCoin(String coin) {
                this.coin = coin;
            }

            public String getSmallAvatar() {
                return smallAvatar;
            }

            public void setSmallAvatar(String smallAvatar) {
                this.smallAvatar = smallAvatar;
            }

            public String getMediumAvatar() {
                return mediumAvatar;
            }

            public void setMediumAvatar(String mediumAvatar) {
                this.mediumAvatar = mediumAvatar;
            }

            public String getLargeAvatar() {
                return largeAvatar;
            }

            public void setLargeAvatar(String largeAvatar) {
                this.largeAvatar = largeAvatar;
            }

            public String getEmailVerified() {
                return emailVerified;
            }

            public void setEmailVerified(String emailVerified) {
                this.emailVerified = emailVerified;
            }

            public String getSetup() {
                return setup;
            }

            public void setSetup(String setup) {
                this.setup = setup;
            }

            public String getPromoted() {
                return promoted;
            }

            public void setPromoted(String promoted) {
                this.promoted = promoted;
            }

            public String getPromotedSeq() {
                return promotedSeq;
            }

            public void setPromotedSeq(String promotedSeq) {
                this.promotedSeq = promotedSeq;
            }

            public String getPromotedTime() {
                return promotedTime;
            }

            public void setPromotedTime(String promotedTime) {
                this.promotedTime = promotedTime;
            }

            public String getLocked() {
                return locked;
            }

            public void setLocked(String locked) {
                this.locked = locked;
            }

            public String getLockDeadline() {
                return lockDeadline;
            }

            public void setLockDeadline(String lockDeadline) {
                this.lockDeadline = lockDeadline;
            }

            public String getConsecutivePasswordErrorTimes() {
                return consecutivePasswordErrorTimes;
            }

            public void setConsecutivePasswordErrorTimes(String consecutivePasswordErrorTimes) {
                this.consecutivePasswordErrorTimes = consecutivePasswordErrorTimes;
            }

            public String getLastPasswordFailTime() {
                return lastPasswordFailTime;
            }

            public void setLastPasswordFailTime(String lastPasswordFailTime) {
                this.lastPasswordFailTime = lastPasswordFailTime;
            }

            public String getLoginTime() {
                return loginTime;
            }

            public void setLoginTime(String loginTime) {
                this.loginTime = loginTime;
            }

            public String getLoginIp() {
                return loginIp;
            }

            public void setLoginIp(String loginIp) {
                this.loginIp = loginIp;
            }

            public String getLoginSessionId() {
                return loginSessionId;
            }

            public void setLoginSessionId(String loginSessionId) {
                this.loginSessionId = loginSessionId;
            }

            public String getApprovalTime() {
                return approvalTime;
            }

            public void setApprovalTime(String approvalTime) {
                this.approvalTime = approvalTime;
            }

            public String getApprovalStatus() {
                return approvalStatus;
            }

            public void setApprovalStatus(String approvalStatus) {
                this.approvalStatus = approvalStatus;
            }

            public String getNewMessageNum() {
                return newMessageNum;
            }

            public void setNewMessageNum(String newMessageNum) {
                this.newMessageNum = newMessageNum;
            }

            public String getNewNotificationNum() {
                return newNotificationNum;
            }

            public void setNewNotificationNum(String newNotificationNum) {
                this.newNotificationNum = newNotificationNum;
            }

            public String getCreatedIp() {
                return createdIp;
            }

            public void setCreatedIp(String createdIp) {
                this.createdIp = createdIp;
            }

            public String getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(String createdTime) {
                this.createdTime = createdTime;
            }

            public String getUpdatedTime() {
                return updatedTime;
            }

            public void setUpdatedTime(String updatedTime) {
                this.updatedTime = updatedTime;
            }

            public String getInviteCode() {
                return inviteCode;
            }

            public void setInviteCode(String inviteCode) {
                this.inviteCode = inviteCode;
            }

            public String getMobileArea() {
                return mobileArea;
            }

            public void setMobileArea(String mobileArea) {
                this.mobileArea = mobileArea;
            }

            public List<String> getRoles() {
                return roles;
            }

            public void setRoles(List<String> roles) {
                this.roles = roles;
            }

            public List<String> getCategory() {
                return category;
            }

            public void setCategory(List<String> category) {
                this.category = category;
            }

            public List<String> getXueduan() {
                return xueduan;
            }

            public void setXueduan(List<String> xueduan) {
                this.xueduan = xueduan;
            }

            public List<String> getXueke() {
                return xueke;
            }

            public void setXueke(List<String> xueke) {
                this.xueke = xueke;
            }
        }
    }
}
